package com.winter.util;

/**
 * 描述：全局常量
 *
 * @author He Yong
 * @version 1.0
 * @since 2017/10/27
 */
public class Constants {


    /**
     * mybatis 默认不支持Boolean类型，故定义以下常量，规避此问题
     */
    public static final int TRUE = 1;

    /**
     * 手机号码可见
     */
    public static final int VISIBILITY = 1;

    /**
     * 手机号码不可见
     */
    public static final int INVISIBLE = 0;

    public static final int FALSE = 0;


    public static final String REGISTER = "1";

    public static final String UPDATEPWD = "2";

    public static final String VERIFICATIONLOGIN = "3";


    public static final Integer PAGENUMBER = 1;

    public static final Integer PAGESIZE = 10;

    public static final String SERVER_NAME = "120.77.52.85";

    public static final String SERVER_PORT = "8899";

    /**
     * 支付宝
     */
    public static final String ALI = "1";

    /**
     * 微信
     */
    public static final String WX = "2";

    public static final Integer GOSSIP_TYPE = 6; // 智库
    
    public static final String AVATAR = "/p2p/images/fmweixin/imgthumb/0.jpg";

    public static String likeType = "1";// 点赞统计

    public static String collectType = "2";// 收藏统计

    public static String commentType = "3";// 评论统计

    public static String add = "1";

    public static String subtract = "2";


}
